What a strange error...
am 29.06.2010 14:37:38 von Tosh CooeyI have an application with a program called [mailfile.pl] which runs
under MP::Registry and is accessed via some mod_rewrites.
Today I pushed a new version from my DEV server to the WWW server using
rsync. Obviously it was working perfectly on DEV.
However the new [mailfile.pl] died with an error on WWW:
[error] (2)No such file or directory: exec of
'/srv/www/htdocs/b2b/mailfile.pl' failed
[error] Premature end of script headers: mailfile.pl, referer: http://www...
I have no idea why that is happening, and here is where things get
strange: I copied [mailfile.pl] to [mailfile2.pl] and rolled back to
the previous working version of [mailfile.pl] so now everything is back
to how it was before. Now if I make a call to [mailfile2.pl] (broken as
mailfile.pl) that works like a charm.
So to recap: [mailfile.pl] = old version, [mailfile2.pl] = new.
Both of the above work. Rename [mailfile2.pl] to [mailfile.pl] then it
dies with the above error.
Naturally this was all accompanied by generous stopping and starting of
Apache.
Has anyone come across anything like this before? Any ideas where to
start looking for a solution other than just mod_rewrite mailfile.pl
mailfile2.pl ?
Thanks!
--
McIntosh Cooey - Twelve Hundred Group LLC - http://www.1200group.com/